<template>
	<view class="history">
		<text style="font-size: 30px; color: red;">手机号充值历史：</text>
		<view class="pay" v-for="(item,index) in list" :key="index">
			<view class="p1">
				<text>手机号：{{item.phonenumber}}</text>
			</view>
			<view class="p2">
				<text>缴费日期：{{item.time}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						phonenumber:'15914748245',
						time:'2021-02-11 20:03:01'
					},
					{
						phonenumber:'13857683241',
						time:'2022-05-14 07:35:45'
						
					},
					{
						phonenumber:'13202451256',
						time:'2023-10-17 21:55:35'
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
.pay{
	width: 300px;
	height: 70px;
	border: 1px solid red;
	margin: 20px auto;
	text-align: center;
	line-height: 30px;
}
</style>
